From b93f5d8456e268c38274a1ff7276e55fa9f4bbeb Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 27 Jul 2006 13:32:29 +0100 Subject: [PATCH] [NET] front: Zero gso features/pad Set unused gso features/pad values to zero for forward-compatibility. Signed-off-by: Herbert Xu --- linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c index 92057e101c..05b876e93c 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c @@ -788,6 +788,8 @@ static int network_start_xmit(struct sk_buff *skb, struct net_device *dev) gso->u.gso.size = skb_shinfo(skb)->gso_size; gso->u.gso.type = XEN_NETIF_GSO_TYPE_TCPV4; + gso->u.gso.pad = 0; + gso->u.gso.features = 0; gso->type = XEN_NETIF_EXTRA_TYPE_GSO; gso->flags = 0; -- 2.30.2